<template>
  <el-card style="width: 500px">
    <el-form label-width="80px" size="small">
      <el-form-item label="用户名">
        <el-input style="height: 30px" v-model="user.username" autocomplete="off" :disabled="true"></el-input>
      </el-form-item>
      <el-form-item label="密码">
        <el-input style="height: 30px;" v-model="user.password" autocomplete="off" :disabled="true"></el-input>
      </el-form-item>
      <el-form-item>
        <el-button disabled type="primary" style="height: 25px; position: absolute; top:0px; right: 0;">保 存</el-button>
      </el-form-item>
    </el-form>
  </el-card>
</template>

<script setup lang="ts">
  const user = JSON.parse(localStorage.getItem('user'))
</script>

<style scoped>

</style>